package com.coolingme.calculatebracket.expression;

import com.coolingme.calculatebracket.IArithmeticInterpreter;

/**
 * @author wangyue
 * @date 2022/12/25 16:55
 */
public abstract class TerminalInterpreter implements IArithmeticInterpreter {

    protected IArithmeticInterpreter left;
    protected IArithmeticInterpreter right;

    public TerminalInterpreter(IArithmeticInterpreter left, IArithmeticInterpreter right) {
        this.left = left;
        this.right = right;
    }
}
